package com.heima.music_player;

public class Test {
    public static void main(String[] args) {
        Music m1 = new Song("无聊人","华晨宇");
        MusicPlayer m = new MusicPlayer(m1);
        m.playMusic();
        m.stopMusic();
    }
}
